package com.sumainfor.zuul.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.sumainfor.zuul.dao.SysAreaDeptDao;
import com.sumainfor.zuul.entity.SysAreaDeptEntity;
import com.sumainfor.zuul.service.SysAreaDeptService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * *归属区域与部门中间表
 *
 * @author PuaChen
 */
@Service
public class SysAreaDeptServiceImpl extends ServiceImpl<SysAreaDeptDao, SysAreaDeptEntity> implements SysAreaDeptService {

    @Override
    public List<Integer> selectAreaIdsByDeptId(Integer deptId) {
        return baseMapper.selectAreaIdByDeptId(deptId);
    }

}
